Dropp\Shipping_Method\Shipping_Method S

Total Complexity 38
Dependencies 3
Dependents 1
Total lines 281
Lines of code 158
Logical lines of code 86
Comment lines 89
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
is_available()
A
51 11 23
evaluate_cost()
A
47 10 34
validate_postcode()
A
51 8 25
get_instance_form_fields()
S
56 3 19
get_additional_form_fields()
S
54 1 22
__construct()
S
61 1 13
init()
S
68 1 7
get_pricetype()
S
74 1 4
calculate_shipping()
S
73 1 5
sanitize_cost()
S
70 1 6